package cn.lds.j368.dsbank.service.impl;

import cn.lds.j368.dsbank.domain.Role;
import cn.lds.j368.dsbank.mapper.RoleMapper;
import cn.lds.j368.dsbank.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private RoleMapper roleMapper;

    @Override
    public List<Role> selectRoleAll() {
        return roleMapper.selectList(null);
    }
}
